package com.ympc.pojo;

/**
 * 班级实体类
 */
public class Class {
    private Integer id;
    private String className; // 班级名称
    private Integer teacherId; // 负责教师ID
    private String major; // 专业
    private String college; // 学院
    private String description; // 班级描述

    public Class() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public Integer getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Integer teacherId) {
        this.teacherId = teacherId;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getCollege() {
        return college;
    }

    public void setCollege(String college) {
        this.college = college;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public String toString() {
        return "Class{" +
                "id=" + id +
                ", className='" + className + '\'' +
                ", teacherId=" + teacherId +
                ", major='" + major + '\'' +
                ", college='" + college + '\'' +
                ", description='" + description + '\'' +
                '}';
    }
}

